Effect of light trapping in an amorphous silicon solar cell