added arg 'type' to plot.slices indicating file type to save graph as. cluster cannot print png - nobody will plot on hpc anyway, but more flexible this way. more documentation.
plot slices at the end of compute.slices on hpc