More functions!

Almost done~~just a couple more tweaks and documentation!