Merged 'master' branch and changed gradient to 'Double' rather than 'Length'