add bezier approximation (surpisingly missing in numpy\!)