http://jameshensman.wordpress.com/2010/06/14/multiple-matrix-multiplication-in-numpy/
http://www.huyng.com/posts/faster-numpy-dot-product/