Bug fixes, Performance improvements

Fixed json, added exponential ease to tile flip, removed useless
iterations, Reviewed performance