Further improvements to pretransfo.m. It is now free of for loops...