Just thought that I should let you guys know that my mathlib.lua is available in a hugely revised form:
http://code.coronalabs.com/code/mathliblua
I have tidied the library itself up to be more readable, concise, documented and simply less confusing.
There is also a demonstration main.lua which shows typical/inteded use cases for each of the maths library functions. (There are 3 examples right now, but I intend to provide many more soon.)
The demonstration main should also be a good example of the new composer api.