Group law on the neutral component of the Jacobian of a real curve of genus 2 having many real components Closed loop solitons and sigma functions: Classical and quantized elasticas with genera one and two 