Creating spatial flatness by combining string gas cosmology and power law inflation