Predicting the movement of a beating heart using nonlinear time series analysis