Array class that performs MATLAB like operations to ease code translations from MATLAB to C/C++