perryReshape() now contains an argument for tuning parameters (closes #12)