Always start from j=1 to j=xRes-1 instead of 0:xRes
Added simple out-of-bounds handling in interpolation.
This version works under windows 8 / thinkpad w530
Merge branch 'master' of https://github.com/walkevin/PBSExercises