sin cos sinh modification. test works