Weight ideals associated to regular and log-linear arrays. (March 2015)