Add mixin for multiple gradients

Closes #7.