Code simplification
Performance improvement - replaced MAth.round with (int) x + 0.5f