Refactored FXInternal::getFullJacobian, #908
Refactored SXFunctionInternal::getFullJacobian, #908