Merge pull request #196 from mithro/cell-fixes

Bug fixes to the standard cell libraries.