pass cos and sin approx out for debugging