Using algorithms to build a map of the placenta