added comments describing how this function differs from the original maxlik.betasplit function