fixed bug where code would break if n_targets > 500

np.size != np.shape
bumped version