Fish population estimation code