Added grades funcs for other 2
Updated derivates of huber and fixed bug in quad