MANIFOLD&FITTING REPL