Lodestar1Testv7

Fixed line1103 and removed stat specific calculations to a new files.
les_enigne__state. file is currently not being used.