there are no specific protections to q=0. Needs some review. Minimally, at least get rid of NaNs Better yet, make it correct. state propagation looks OK