Learn matrix calculus for deep learning