and some minor variable renames in the base gradient calculator so that a delta won't be mistaken for a derivative...