Drela's Xrotor modified for operating with Matlab