Fixed typo in formula for <6>.
Change default cumulant 2 -> 4.
Read stdin in binary mode (marginal speedup).