Included a test for isotropic scattering function

Function tests isotropic scattering with N_TEST photons, then finds the
sum of the vector components of direction, ideally being equal to zero.
A tolerance of 5% is given.