Added and modified Black Box Functions

Functions from 1 to 18 are implemented (not yet tested!)