fixed
implemented derivative test for supervised machine