Fixed an issue with zero-parameter functions;
Added rand() and randn()