implemented shortcuts to apply functions in the ruby core Math module to NMatrix objects