Get Array Length Matlab Function