Fixed issue #187 - invalid argument conversion in Operation

I fixed the <i>NSNumber</i> => <i>NSNumber</i> conversion bug, made some small code improvements and added the <i>free(buffer)</i> line which was incorrectly commented out (<i>NSValue</i> does copy the buffer).