Class LeviCivitaConnection: added method restrict() and rewrote ricci(); more doctests in Metric