added newline at end of LICENSE file
reversed order of licence paragraphs
removed unused variables