"IN OUT" -> "INOUT" to get around f2py bug