initial plot from models
use int instead of string
fix some bugs
some fixes on get max ivs
use all iv_words on sum
un used vars clean up
more fixes for use data from models