If shape is None, use the variable's shape

As we now allocate with the right size do not need
to provide it one more time at the initialization stage.
Specify the shape only at the allocation stage
Prevent copying when getting shape
Merge pull request #8 from rizar/defshape

Default shape when initializing