Scattering matrix analysis for evaluating the photocurrent in hydrogenated-amorphous-silicon-based thin film solar