Set VectorXd arrays to zero after creation/resizing
Detector state arrays contained some garbage numbers since they were not initialised to zero. Not clear whether this was causing any problems, but probably best to fix it...
Detector state arrays contained some garbage numbers since they were not initialised to zero. Not clear whether this was causing any problems, but probably best to fix it...