flipping implemented

Signed-off-by: Benjamin Reh <benjamin.reh@iwr.uni-heidelberg.de>