added provide to math
changed math module
updated example and simple-frame
small changes in comments