fixed scaling. fixed rounding. fixed tabs (now spaces).