Changed default value of dinary_target_dim to None from False