Added CV calculation. 'Final' draft.