Removing ind2sub and sub2ind calls
Implemented sub2ind matlab function
Implemented meshgrid Matlab function
Implemented ndgrid Matlab function
Implemented randi Matlab function
Implemented rng Matlab function
Implemented ind2sub Matlab function