Try moving the Gain graph outside the loop and delete the array builder. Now wire from the result of your calculation to the graph. Right click on the tunnel where the wire goes through the wall of the loop and select Auto-Index.
Mike...
Certified Professional Instructor Certified LabVIEW Architect LabVIEW Champion