development ported to .1 until single-gaussian fits can be integrated