Standardize chip api
This MR adds a unittest assuring that the input and output parameters of all chip specific functions are identical. In addition to that the chip apis and analysis have been slightly modified in order to assure current compatibility.