Add switch to perform recalcCsum on curve write. Returns the checksum if calculated