Moved CVS log to the bottom of the file
Move CVS log to the bottom
Minor corrections
Includes and file header corrections
Move struct closer to where it is used
Remove outdated code
Revised sensor index
Major change in sti planes creation logic + bunch of variables renamed to improve readability
Minor style issue + exit function before considering inactive material