Calculate DOF for photography
