Scientists develop tool to help with male infertility