focal length now factors in ccd size and image width and height. made more accurate