Changed variable names, reassigned global variables and
edited SEQanalysis class to shorten code