updated include headers for opencv > 2.4.x and changed cv::vector to std::vector