Creating a smooth cubic bezier curve that pass through all the prescribed points using Swift and Math.