Changed version number to 1.2.1
Added shared warps.
More code cleaning