removed warning bugs
dev stage commit
vm is going to nan, why oh why? hist routine seems fine