Use getattr for backward compatibility in DenseDesignMatrix

@goodfeli