Revert "Can't change double to int, value is 0-1"

This reverts commit b3a0458aeecbfb21ab974d0ff78f380a0b02494e.

Conflicts:
	src/.primitives.cpp.swp
	src/primitives.cpp
	src/primitives.h