fix error in 2d numpy array
added file existance checking
added obtaining sequence stats with the stage the sequence file is made