Reverse Engineering of an Exercise Machine