I\'m trying to convert Matlab source code to C# which computes ball bounce physics with spin. But I\'m not used to Matlab, their notation of spherical coordinates, vector with q