Updated to use optimised single dimension calls to bezier