BIR-CAT Optimization Technique for Automatic Segmentation and Classification of Brain Tumours on Pre- and Post-Operative MRI