The fractalized heart transform and its use to obtain two- and three-dimensional representations of high-dimensional functions