How does potassium affect muscle function?