A light program for comparing the speed of calculating the array in C++/matlab/mat2C