Add linear mapping script

Signed-off-by: Ramasamy Chandramouli <rchandramouli@live.com>