Got trig workingish.
trig is mostly working. Have a weird border line to iron out later though.
fixed trig, which also fixed fann and stripn.