Added in Matrix and Simple Hopfield Network