Added a working set size function so I can benchmark ticks/element as a function of memory used