End-to-End Image Simulator for Optical Imaging Systems: Equations and Simulation Examples. (15th January 2013)