Applied pep8
Program Fix

Fixed row adding issues.
Fixed result being read incorrectly into grid
Added command to fill empty variable coefficient cells with zeros