Sin graph test working