started forward propogation using matrix multiplication
fixed merge conflict