Changed example to derive values from parameters

Copied the derivation of the matrix values from the physical parameters
of the problem.
Merge remote-tracking branch 'upstream/master'
Merge remote-tracking branch 'upstream/master'
Added an easy way to make a matrix of zeroes.
Merge remote-tracking branch 'upstream/master'