Early prediction of functional outcome after stroke