DM working

DM is working and learning
also added Vector graphic to show the learned DM