wait, num features here is number of dimensions, or am I wrong?