extract_replacemethod function

'[<-' S3 Replacement method for blockmatrix object