Fixed a bug in remove gene, in Gene.

Replaced pop() with the correct function, remove().

I added a unit test, but it's failing. @aebrahim... any ideas?