Stock returns and aggregate mutual fund flows: a system approach