Ballscrew and ball spline nut driven synchronously or independently