Added 2D and 3D matrices creation methods for Int variables and Bool variables