implemented importance samling with slater