A Morse Transform for Drug Discovery