Already started to write documentation in the README but the functions need documentation on their own using roxygen.