sim_fun_grad function

A simple gradient simulation function for testing