added derivative2 in function type

derivative2 in function type