added possibilitiy for just computing the effective mass, without performing a fit