Implements most trigonometry methods, no tests yet