Element-wise sincosd

y = sind.(dir)
x = cosd.(dir)

Works well.