+function to simulate psychometric data