simmat & sim functions now accept sim_fn methods rather than strings as (dis)similarity measure