Algebraic Morse theory via Homological Perturbation Lemma with two applications | Synapse