Put module_function ahead of all Musicality module instance methods.
Support sigmoid transition. Add tests for sigmoid transitions.