Created a main function in sct_pdb_analysis. Corrected flaws that this revealed in outher functions.
Created a main function in sct_pdb_analysis. Corrected flaws that this revealed in outher functions.

dww100/sct,dww100/sct