added ReBin() docs for an additionl case (bin x phase shift) and added it to the regtest code