Removed getRand<float>
Cleaned up the codebase a little bit