similarity measure without gauss