fixed up bugs introduced by refactoring of morphology class to enable
morphologies to be programatically altered more easily