Added some style improvements to the cell computation code