Version 0.9: bug correction: octaves in train functions.