numpy tricks added

Signed-off-by: jayrambhia <jayrambhia777@gmail.com>