A couple of simple to fix warnings in the examples

1.  Make covariance positive-semidefinite as Numpy expects
1.  Use a kwarg for loc in legend. Positional is deprecated so we should not use it in examples.