changed output of createDoG2 to give output as prior vs