A preprocessing tool for removing artifact from cardiac RR interval recordings using three-dimensional spatial distribution mapping.