changed default arguments in generate_params, a few typo fixes;
mtcpca_complete now returns results for a phase-shifted version of the
original input as well