modified curve point cpp
added small move and replaced