Changed BiCGstab to also write last iteration