made a class for faster sinus calculations