Homework 6

[Here](http://nbviewer.ipython.org/github/tomyun/2014_Astr599_HW/blob/HW6_branch/tomyun/HW6.ipynb) is a link to nbviewer.

Somehow the viewer looks a bit odd probably due to the embedded console/HTML outputs.