他人总结矩阵转移公式推导:
http://www.cnblogs.com/frog112111/archive/2013/05/19/3087648.html
https://blog.csdn.net/wcyoot/article/details/33310329