Use unrarefied data and fix numpy calls