Scale xtest according to xtrain before applying the method