fix sin cos bug
class init commit