float[] oldSmallerVector = entry.getValue();
float[] newLargerVector = new float[features];
System.arraycopy(oldSmallerVector, 0, newLargerVector, 0, oldSmallerVector.length);
// Fill in new dimensions with random values
for (int i = oldSmallerVector.length; i < newLargerVector.length; i++) {
newLargerVector[i] = (float) random.nextGaussian();
}
SimpleVectorMath.normalize(newLargerVector);
randomY.put(entry.getKey(), newLargerVector);
}