sim_fun_nongrad function

A simple non-gradient simulation function for testing