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)
hmm at this point we are giving up any speed gains we might have had from this method. A few things - you mentioned the error was from OpenCV freeing our memory right? Is there any way to tell OpenCV hey don't manage memory on this object?

You might hate me for this but having multiple methods was kind of a fun experiment but I think we should drop all the methods except Memcpy for merging into master. Please add this as a new commit though and don't squash this history because I think this was neat and a worth while endeavor.