slightly improve sin/cos/tan_series