Matlab Cell Array To Double Array Problem In C