Created loadWGBS function