Fixed the initialization of th GP with one sample..