Added in gaussian and sin functions