Everything that interacts with matlab now uses double[][]