Bug fixing on actual data.

Mainly fixing errors due to hardcoded amplitude vectors. Also, improved
the noise variance estimate in analyzeSlopes().

--BRJ and CAR