Updated LDA and common.py. Added function to create confusion Matrix in common.py