Heartbeat alignment mostly complete. About to major rewrite.
Linear-Gaussian now uses analytical formulas