def_projectors function

Wrapper to generate projection functions for all parameters