rbind: functions with correct promotion of args and added agrad-rev tests