fixed bug in drawHeatmap.  d3.csv() function relocated to top of function so all variable assignments happen within the callback.  Async callback behavior was causing unexpected results.
Merge branch 'master' of https://github.com/andrew-reece/cs171-final-project