Add a wrapper for BARY() in the trunk.

This partly addresses #1041.

The issue of dimensions of the inputs is more complicated. @aaustin141, can you remember our discussions on this when implementing ```@chebtech/bary()```?