A set of Matlab functions that were used for the publications "Towards a theoretical foundation for morphological computation with compliant bodies" and " The role of feedback in morphological computation with compliant bodies"