solvecov function

Inversion of (possibly singular) symmetric matrices