The link you provided explains this as clearly as everything (plus includes the source code). If you are still struggling with the concepts of operations, then you should probably start by reading a little more about matrix / linear algebra, so you understand basic math.
source
share