improve performance throughout big math implementation

Also includes implementations of Exp and PI