major changes to basic workings

modifications made to include tests for floats and doubles