Optimization of fiber distribution in fiber reinforced composite by using NURBS functions