A new algorithm for molecular geometry optimization with illustrative application to methylamine | Synapse