Added trait collector

still WIP. Need to add a few more modes for extra precision