Added - most of forward propagation alghoritm