Modeling Of A Diffraction Grating Coupled Waveguide Based Biosensor For Microfluidic Applications