In LCFoam.py: added comments, fixed incorrect tabs, labeled deprecated funcs.