Added reduceDim file

This function takes the principle components and original data and
transforms it to reduced 2-dimension data