When a confidence ellipse is drawn from a covariance matrix that is not PSD, the viewer crashes.
Although the client is responsible for sending a correct covariance matrix, the viewer should not crash when a wrong one is passed.
in the last two situations, an error must be logged.