Towards Integration of Algebraic Topological Methods in Deep Learning from Medical Images