Comments and updates

Can now properly scale template alignment and pdb to match target
Commented much of the code
Added and cleaned up debug output