Fixed minor issue with chromosome interpretation
Fixed some major bugs in the algorithm, leading to terminal errors