New version of genetics calculator logic written by nephew Michael Barre'
This is a consolidation of the code in my previous genetics calculators for Freshwater Angelfish and Marine Clownfish.
Angelfish - http://calculator.nolapete.com
Clownfish - http://clowncalc.nolapete.com and latest http://cbr.nolapete.com/clownfish/calculator
Refactored to eliminate poor coding and add versatility.