Got triangle wave generator working, and worked on ST_n_comp a little.