Update qps2mat.m. Test it tomorrow.