n[i] still not registering in for loop, only output is the actual values in array. not calculatiing