Parameterize @profile decorator with precision

Add precision parameter to `@profile` decorator to add the ability to specify precision if `from memory_profiler import profile` is used instead of `-m memory_profiler` in the command line.