Addressed comments. Added test for pac and improved surrogate analysis.