Implemented Dendrite.initPoints and Compartment.calculateCenter