Dwarf galaxy rotation curves and the core problem of dark matter haloes