Move cos approximation functions into new file: algebra.clj.