Fixed various clang compiler warnings

Signed-off-by: Dirk Ribbrock <dirk.ribbrock@math.uni-dortmund.de>