Rectangular Array with changeable shape and g coef

k = (-1,-1,-1)