Large code commit

working GA code for optimising on test data and plotting result