Finished writing a scattershot kalman regression when the delay is unknown. It stinks a bit and it is very slow, but hey.