primary functions of the mascular system