Computational efficient RCWA method for simulation of thin film solar cells