Added cost for trust edge and subject.
Cleaning up comments