restting vprime matrix. fixing BC for concentrations