fixed division by 0, load file w/ formatted cells

Before, division by 0 returned infinity now an error message is
displayed. Fixed the problem where you'd get exceptions when loading a
file with formatted cells. There are still bugs regarding inputs, still
working on it