Made changes to gradient descent and plotting - gotta watch out for ints versus floats.