Modelling and measuring the irrational behaviour of agents in financial markets: Discovering the psychological soliton