make scalar_functions pickable
specify default_hyperpriors in models

change the name of default_params to default_hyperparams