Fix #227; trigonometric operations should return dimensionless arrays, not unit-less arrays