added compute intersection transform function to bezier