Random.cpp: Fixed wrong name of function.
System.*: Trying to work out reason for nan error.
main.cpp: Added simple test case. Have nan problem but structure works.