Added pure helper function. Re-formatted primops
Helper functions for recursive and native functions. Native filter function
Improved documentation a little