updating the working version of image reading and histogram calc