Renamed method log() to debug()

...because of problems with method log() in package math