Coordinate space calculation of two- and three-loop sunrise-type diagrams, elliptic functions and truncated Bessel integral identities