M tree changes.
Forgot two files.
Adds quantisation stuff.