Fixed python format flags "f" from float to double "d"