added separate input weights for pyramidal and basket