Added PI/Co-PI order correctness.

Edited some comments for better code.