Two more example functions; default values for grad descent functions