Got 2D gaussian estimation working.