getR0 function

Gets R0 from a nosoi simulation