peak and location

now providing peak and location.. this is an extension added provide 2d
peak functionality ..