linear kernel psi statistics performance optimization