ENH: Rolled out pairwise behaviour to the other "rolling" functions.
CLN: Fixed PEP8 violations since there weren't many.