Implementing Jastrow factor