Update on GeneralZero function

Improved function to use all function possoble in up comming