adding plsda function