Bug fix

Correcting rectArray