I have added ```flipped=False``` as a default parameter for the static functions. Others needn't have that since they are used internally.