Ok, This was annoying.
the COS and SINE values are different between material and actor functions… Wow…