Derivative now works with vector core