Object-Oriented Optics calculator