Added faster to_lower from gustaffson paper.