Functional Heart and Circulatory System Model