Fixed bug in image not loading

Replaced imread with cvLoadImage