Better math behind light positions