Application Oriented Multi Criteria Optimization in WSNs Using on AHP