Cython monitors: function_monitor

This PR introduces the submodule of `cmonitors` a version of the standard monitors implemented in cython.