Plot option 'plotit' added to the program
Test run with plot option
Augmented with logistic regression modification
Include weight matrix argument