Causes of muscle cramps and how to solve them