Sixth revision. Still working on matrix. But 1D array initialization method is good to go