Add methods to normalize arrays and dataframes

Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>