I made some changes, speeding up the mangling function calculation (usually x2 or quicker). This might come with a slight trade-off of accuracy/uncertainties (< or ~0.01 mag in final values). Also, piscola now sets the type of the metadata (SN name, z, ra, dec) to avoid issues with SNe whose names are only numbers.