Re-Implementet B and E
Re-Implementet U, corrected E
Re-Implementet T, corrected shifting