Solve Boundary Value Problem Matlab