vq working

localization enabled (localization functions should be vectorized,
because they probably can be), object localization still giving troubles
for empty bins. everything else up and running