Computer model predicts how drugs affect heart rhythm