Trying to solve a robotics problem using Moore-Penrose inverse in Matlab, but getting errors. Tried Matlab forum, no luck. Anyone can help?