fixed a bug in occam and added to zentools