Added viz package to setup
Added option to save to html file
Changed default phase mapping
Fixed indexing bug