Estimation of residuals for the homogenized solution of quasi-periodic media. (October 2018)