fixed minor bug in operation/accumulation
removed warnings from python code
removed most annoying warnings