clear output parameters if a serious problem has occured

A serious problem is a problem which leads to an invalid spectrum.  In
this case the output masses / mixing matrices should be set to zero to
avoid confusion on the user side.