Added Error Detector class. The output labels are still wrong, cant quite get the classes for them to align yet to make everything happy with the chain model, but the SVM is more or less in place and the data pipeline is there.