non-local-means: convert script into executable

* Unfortunately, using the #!/usr/bin/env octave -qf trick does
  not work, as the program loader interprets "octave -qf" as a
  single argument to be passed on to the env application.
non-local-means: read input and output files from script arguments
non-local-means: add function to convert volume to class double