made hard links softer
plots photometric errors
small fixes in params