Fixed missing bracket
JAVAfied some more and added the original comments from the C -header file