better scaling for prettier matrices
presedential party used to create group number for color