Java Data Type Double Matlab