A geometric approach to modeling of four- and five-link planar snake-like robot. (12th October 2016)