implementation of image quality metrics in C++ added