add masking for ghosts based on model (polynomials in a metadata config file); move mask support functions to psastroMaskUtils; plug leak in psastro