Add functions to print and save the matrix P^t
Add the -w switch to save the P^t matrix