Added a 5-bar linkage wrapper function