some improvements to distal dendrite learning