[cag] added de casteljau algorithm