Changed way of specifiifying cell width
reset model properly
seems to work for one layer, no walls
Configuration that seems to work for three layers