Computational Methods For Functional Motif Identification and Approximate Dimension Reduction in Genomic Data