Also, have you ever heard anyone tell you: ALWAYS initialize your variables?

I ran your code on a data file containing the data you posted and it displayed -4 and 21 as the two angles for the range. I only altered your output statement to this:
Code:
cout << range[0][0]<<endl
        << range[16][0]<<endl;