Fix some broken ajax calls.
First iteration of the matrix demo model that does real computation.