An implementation of geometric integration within Matlab. (November 2019)