implement a function to bridge gaps between correct vectors and predicted vectors