Use float64 for python arrays.
Fix some comments.