New neural network explains human behaviours from dynamic brain activity