Structure Maintained Representation Learning Neural Network for Causal Inference