untrain function added.
untrain test case added.