fix linking of policy
add policy to ising
add inplace sampling
check in ising data (since they are small)