Calculating the Configuration of Peptide Chains Using Potential Functions. Geometry of N-Methylacetamide