Added memory limit check

Closes #14
Added environment variable CUBIST_OPTIONS

Closes #15