Rewrote phase 3 of PInactivationDecoding
Added serialization functionality to matrices/vectors