changed back the names of badpixelmap and baddatamap for back compatibility