Added function to make homogeneous projection of some graph based on a meta path