Removed redundant $guess variable assignment in function.