Framework for Brain Tumor Diagnosis