Don't need sourcing of rLA in functions
Fixed up misplaced constants and non-initated variables.
Missing variables fixed