Fixing compose

I found a bug in the way the compose function handled its arguments. The composing functions' order was reversed on each execution of the composed function. It seems that they reverse operation should happen only once.