- Replaced deftypes by defrecords so that it is not necessary to import
types when using the library
- Changed scope of primitive-math to test, since it is not used in the
source currently