Adding sphere-related funcs; dim-independent rotational diffusion func; improving vector angle func