Added angle solver and fixed the timeDiff function
Changed rewrite