add a direct gradient evaluation cost funtion
Authored by: gerddie 2008-09-18
Parent: [r913]
Child: [r915]