There are a number of hard-coded vectors in the code. Mostly for the scattering vectors and plane. Those can all be derived from the source and sample position as well as gravity. So we should replace the hard-coded values to be more agnostic to the coordinate system.