bollinger calc for entire matrix instead of last row