return derivatives
add ref to numpy array
add sympy functions
update tests for additional code generated