The use of partitioned matrices in geophysical inversion problems