Function of chordae tendineae and papillary muscles