Added RectD class