[linsys] Cg: store all rhos
[deflation] store C in Cg
[tests] modularize linsys tests
[tests] test C

fixes #38
[linsys] Cg: avoid division by zero

division by zero was carried out if the initial residual
equals zero exactly.