Modeling a lens that is telecentric in image space