cv::Mat to CDenseFeature conversion Factory and vice versa.

I have made a factory which directly converts any cvMat object into any(required) type of CDenseFeatures. 
and  CDenseFeature<float64_t> into the required type of cvMat (any)
this is getting closer to what I had in mind. There is some more weird indentation in this file too.