Paper accepted to Neural Computing and Applications