dont change parameters; dont use tmpfile; update copyright

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>