Second order linear differential equations in MATLAB