Floating point issue

Handled a floating point issue.
Cleared unneeded spaces.
Using dup instead of another initialization.
Removing unused requires.
no need to use the accessor

was only used for tests.
Another place
Merge pull request #2 from nadavshatz/master

Handling a floating point issue